/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package testepm0071;

import java.util.Scanner;
/**
 *
 * @author veloso
 * @author Thiago AC
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        System.out.println("TRIANGULO");
        
        /*System.out.println("Olá, mundo!");
        System.out.println("Inserção por Thiago");
        System.out.println("dig din dig din dig din");
        System.out.println("pra te enlouquecer");*/
        
        System.out.println("TIPO DE TRIÂNGULO");

        Scanner in = new Scanner (System.in);

        System.out.println("Insira lado A:");
        double sideA = in.nextDouble();
        System.out.println("Insira lado B:");
        double sideB = in.nextDouble();
        System.out.println("Insira lado C:");
        double sideC = in.nextDouble();

        Triangle t1 = new Triangle(sideA,sideB,sideC);

        System.out.println("Existência:");
        System.out.println(t1.checkExistence(t1));
        System.out.println("Equilátero:");
        System.out.println(t1.checkEquilateral(t1));
        System.out.println("Isósceles:");
        System.out.println(t1.checkIsosceles(t1));
        System.out.println("Escaleno:");
        System.out.println(t1.checkScalene(t1));

    }

}
